<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<html>
<head>
<title>Login</title>
</head>
<body>
<f:view>
	<h:outputLabel  value="Login" style="FONT-WEIGHT: bold;"/>
	
	<h:form id="formAutenticar">
		<h:outputLabel id="labelLogin" value="Digite seu login:" />
		<h:inputText id="inputLogin" value="#{ControleAutenticacao.usuario.login}" required="true"/>
		<br />
		<h:outputLabel id="labelSenha" value="Digite sua senha:" />
		<h:inputSecret id="inputSenha" value="#{ControleAutenticacao.usuario.senha}" required="true"/>
		
		<h:commandButton id="buttonAutenticar" action="#{ControleAutenticacao.autenticar}" value="Ok" />
		<h:messages id="messages" layout="table" style="color: red"/>
	</h:form>
</f:view>
</body>
</html>

